package com.ruoyi.sl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 待办对象 sl_dbinfo
 *
 * @author admin
 * @date 2024-06-17
 */
public class SlDbinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long dbId;

    /** 接收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    @Excel(name = "接收时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date receptionTime;

    /** 类型 */
    @Excel(name = "类型")
    private String dbType;

    /** 提交人名称 */
    @Excel(name = "提交人名称")
    private String presenterNick;

    /** 提交人ID */
    private String presenterUser;

    /** 级别 */
    @Excel(name = "级别")
    private String dbLevel;

    /** 标题 */
    @Excel(name = "标题")
    private String dbSubject;

    /** 处理人名称 */
    @Excel(name = "处理人名称")
    private String transactorsNick;

    /** 处理人ID */
    private String transactorsUser;

    /** 办理状态 */
    @Excel(name = "办理状态")
    private String isDone;

    /** 是否待办 */
    private String isDb;

    /** 来源ID */
    private Long sourceId;

    /** 来源（系统/汇报/报工） */
    @Excel(name = "来源", readConverterExp = "系统/汇报/报工")
    private String source;

    /** 办理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    @Excel(name = "办理时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date doneTime;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    private Date reviewsTime;

    /** 复核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    private Date checkTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date overTime;

    /** 报工人 */
    private String rwUser;

    /** 报工日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date rwDate;

    public void setDbId(Long dbId)
    {
        this.dbId = dbId;
    }

    public Long getDbId()
    {
        return dbId;
    }
    public void setReceptionTime(Date receptionTime)
    {
        this.receptionTime = receptionTime;
    }

    public Date getReceptionTime()
    {
        return receptionTime;
    }
    public void setDbType(String dbType)
    {
        this.dbType = dbType;
    }

    public String getDbType()
    {
        return dbType;
    }
    public void setPresenterNick(String presenterNick)
    {
        this.presenterNick = presenterNick;
    }

    public String getPresenterNick()
    {
        return presenterNick;
    }
    public void setPresenterUser(String presenterUser)
    {
        this.presenterUser = presenterUser;
    }

    public String getPresenterUser()
    {
        return presenterUser;
    }
    public void setDbLevel(String dbLevel)
    {
        this.dbLevel = dbLevel;
    }

    public String getDbLevel()
    {
        return dbLevel;
    }
    public void setDbSubject(String dbSubject)
    {
        this.dbSubject = dbSubject;
    }

    public String getDbSubject()
    {
        return dbSubject;
    }
    public void setTransactorsNick(String transactorsNick)
    {
        this.transactorsNick = transactorsNick;
    }

    public String getTransactorsNick()
    {
        return transactorsNick;
    }
    public void setTransactorsUser(String transactorsUser)
    {
        this.transactorsUser = transactorsUser;
    }

    public String getTransactorsUser()
    {
        return transactorsUser;
    }
    public void setIsDone(String isDone)
    {
        this.isDone = isDone;
    }

    public String getIsDone()
    {
        return isDone;
    }
    public void setIsDb(String isDb)
    {
        this.isDb = isDb;
    }

    public String getIsDb()
    {
        return isDb;
    }
    public void setSourceId(Long sourceId)
    {
        this.sourceId = sourceId;
    }

    public Long getSourceId()
    {
        return sourceId;
    }
    public void setSource(String source)
    {
        this.source = source;
    }

    public String getSource()
    {
        return source;
    }
    public void setDoneTime(Date doneTime)
    {
        this.doneTime = doneTime;
    }

    public Date getDoneTime()
    {
        return doneTime;
    }
    public void setReviewsTime(Date reviewsTime)
    {
        this.reviewsTime = reviewsTime;
    }

    public Date getReviewsTime()
    {
        return reviewsTime;
    }
    public void setCheckTime(Date checkTime)
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime()
    {
        return checkTime;
    }
    public void setOverTime(Date overTime)
    {
        this.overTime = overTime;
    }

    public Date getOverTime()
    {
        return overTime;
    }
    public void setRwUser(String rwUser)
    {
        this.rwUser = rwUser;
    }

    public String getRwUser()
    {
        return rwUser;
    }
    public void setRwDate(Date rwDate)
    {
        this.rwDate = rwDate;
    }

    public Date getRwDate()
    {
        return rwDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("dbId", getDbId())
                .append("receptionTime", getReceptionTime())
                .append("dbType", getDbType())
                .append("presenterNick", getPresenterNick())
                .append("presenterUser", getPresenterUser())
                .append("dbLevel", getDbLevel())
                .append("dbSubject", getDbSubject())
                .append("transactorsNick", getTransactorsNick())
                .append("transactorsUser", getTransactorsUser())
                .append("isDone", getIsDone())
                .append("isDb", getIsDb())
                .append("sourceId", getSourceId())
                .append("source", getSource())
                .append("doneTime", getDoneTime())
                .append("reviewsTime", getReviewsTime())
                .append("checkTime", getCheckTime())
                .append("overTime", getOverTime())
                .append("rwUser", getRwUser())
                .append("rwDate", getRwDate())
                .toString();
    }
}
